#firmOrder {
  @include flexbox();
  @include flex-direction(column);
  height: 100%;
  background: rgba(246, 246, 246, 1);
  padding-bottom: 50px;

  header {
    @include flexbox();
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: linear-gradient(to right, #2fd4ac, #2fd492);

    i {
      width: 30px;
      background: url(image/icon_return.png) no-repeat center;
      background-size: 100%;
    }

    div {
      @include flex();
      margin-right: 30px;
      text-align: center;
      font-size: 18px;
    }
  }

  .box1 {
    padding: 0px 10px;
    margin-top: 10px;
    .box {
      width: 100%;
      overflow-y: scroll;
      background: #fff;
      height: 75px;
      margin: 0 auto 10px;
      border-radius: 7px;

      .top {
        height: 12px;
        background: linear-gradient(to bottom, rgb(67, 215, 179), rgb(64, 191, 162));
      }

      .bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 63px;
        padding: 0px 21px 0px 12px;

        .left {
          display: flex;
          align-items: center;

          img {
            width: 51px;
            height: 51px;
            border-radius: 5px;
          }

          span {
            margin-left: 12px;

            div:nth-of-type(1) {
              font-size: 14px;
              color: rgba(0, 0, 0, 0.6)
            }

            div:nth-of-type(2) {
              font-size: 14px;
              color: rgb(253, 215, 26);
              background: rgb(84, 56, 42);
              width: 45px;
              height: 22px;
              text-align: center;
              line-height: 22px;
              border-radius: 22px;

            }
          }
        }

        .right {
          span {
            width: 23px;
            height: 23px;
            border-radius: 50%;
            border: 1px solid rgba(0, 0, 0, 0.3);
            color: rgba(0, 0, 0, 0.3);
            text-align: center;
            line-height: 23px;
            display: inline-block;
            margin-left: 6px;
          }

          span:nth-of-type(2) {
            width: 66px;
            height: 30px;
            border-radius: 30px;
            line-height: 30px
          }
        }
      }
    }

    .address {
      display: block;
      padding: 0px 21px 0px 12px;
      height: 50px;
      font-size: 15px;
      color: rgba(51, 51, 51, 1);
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 7px;
    }

    .address1 {
      display: block;
      padding: 0px 21px 0px 0px;
      height: 78px;
      font-size: 15px;
      color: rgba(51, 51, 51, 1);
      background: #fff;
      display: flex;
      margin-top: 20px;
      border-radius: 7px;

      .left {
        width: 20px;
        display: flex;
        background: #96c8b7;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        border-top-left-radius: 7px;
        border-bottom-left-radius: 7px;
        margin-right: 10px;
      }

      .right {
        display: flex;
        flex-direction: column;
        justify-content: space-around;

        div {
          font-size: 11px;
          color: rgba(0, 0, 0, 0.5)
        }
      }
    }

    .need {
      width: 100%;
      background: #fff;
      position: relative;
      margin-top: 20px;
        padding: 10px 0px;
      img {
        position: absolute;
        margin-right: 12px;
      }

      textarea {
        width: 95%;
        display: block;
        height: 78px;
        font-size: 15px;
        padding-left: 10px;
        color: rgba(51, 51, 51, 1);
        border-radius: 7px;
        margin-left: 12px;
        border: transparent;
      }

      ::-webkit-input-placeholder {
        /* WebKit browsers */
        color: rgba(156, 156, 156, 1);
        font-size: 12px;
      }

      :-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: rgba(156, 156, 156, 1);
        font-size: 12px;
      }

      ::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: rgba(156, 156, 156, 1);
        font-size: 12px;
      }

      :-ms-input-placeholder {
        /* Internet Explorer 10+ */
        color: rgba(156, 156, 156, 1);
        font-size: 12px;
      }
    }

    
    .payType {
        background: #fff;
        padding: 0 15px;
        font-size: 15px;
        margin-top: 10px;
        label {
          display: block;
          padding: 8px 0;
          border-bottom: 1px solid rgba(223, 223, 223, 1);
  
          img {
            margin-right: 6px;
          }
  
          input[type='radio'] {
            opacity: 0;
          }
  
          input[type='radio']+i {
            margin-right: 10px;
            display: inline-block;
            float: right;
            width: 18px;
            height: 33px;
            background: url(image/check_normal.png) no-repeat center;
            background-size: 18px;
          }
  
          input[type='radio']:checked+i {
            background: url(image/check_click.png) no-repeat center;
            background-size: 18px;
          }
        }
  
        .moreType {
          display: inline-block;
          width: 100%;
          height: 50px;
          line-height: 50px;
          font-size: 15px;
          color: rgba(156, 156, 156, 1);
          text-align: center;
        }
      }
    }
    .submitOrder {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 50px;
      line-height: 50px;
      background: #fff;
      text-align: right;
      font-size: 15px;
      color: rgba(156, 156, 156, 1);
  
      span {
        color: rgba(229, 50, 45, 1);
  
        i {
          font-size: 19px;
          font-weight: bold;
        }
      }
  
      a {
        float: right;
        width: 135px;
        color: #fff;
        text-align: center;
        margin-left: 15px;
        background: rgba(229, 50, 45, 1);
      }
    }
  }
